import request from '@/utils/request'

// 查询配置
export function listFormConfig(query) {
  return request({
    url: '/system/formConfig/list',
    method: 'get',
    params: query
  })
}

// 新增或者更新配置
export function addFormConfig(data) {
  return request({
    url: '/system/formConfig/add',
    method: 'post',
    data: data
  })
}

// 删除配置
export function delFormConfig(query) {
  return request({
    url: '/system/formConfig/delete',
    method: 'get',
    params: query
  })
}
